
//TODO a(30)
function a30(module, exports, a) {
    function iffff(e) {
        var t = s.parseToJSON(e.flashvar), a = s.parseToJSON(location.search);
        for (var i in t)t[i] = s.trim(t[i]);
        var l = {
            cid: t.cid || "",
            zid: t.zid || "",
            appGuideTime: Number(t.appGuideTime) || 0,
            owner: t.owner || "",
            urlMid: t.mid || "",
            urlSource: t.source || ""
        }, d = {
            cont: e.cont,
            lan: t.lan || "cn",
            ark: t.ark,
            p1: t.p1 || "0",
            p2: t.p2 || "06",
            p3: t.p3 || (r.mac && r.safari ? "01" : ""),
            defi: t.rate || s.getCookie("defi") || n.defi,
            isAutoMute: "undefined" != typeof t.autoMute ? parseInt(t.autoMute) : n.isAutoMute,
            isAutoPlay: "undefined" != typeof t.autoplay ? parseInt(t.autoplay) : n.isAutoPlay,
            isPreload: r.weixin && r.iPhone ? 1 : "undefined" != typeof t.preload ? parseInt(t.preload) : n.isPreload,
            nextBtn: "undefined" != typeof t.nextBtn ? parseInt(t.nextBtn) : n.nextBtn,
            definition: "undefined" != typeof t.definition ? parseInt(t.definition) : n.definition,
            Barrage: "MPlayer" == t.pname || 1 == t.isHttps ? 0 : 0 == parseInt(t.barrage) ? 0 : 1,
            hideBarrage: "MPlayer" == t.pname ? 1 : 1 == parseInt(t.hideBarrage) ? 1 : 0,
            historyPlay: "1" == t.historyPlay,
            supportP2P: 1 != t.forceCDN && (!(r.forceMp4 || !window.CdeMediaHelper) && window.CdeMediaHelper.supportPlayer()),
            splatId: t.splatId || ("MPlayer" == t.pname ? "301" : "304")
        };
        r.weixin && r.Android && (d.isAutoPlay = !1);
        var h = {preparePlay: !1, startPlay: !1};
        if (t.rate) {
            var c = {350: 1, 800: 2};
            c[t.rate] && (d.defi = c[t.rate])
        }
        return {
            flashVar: t,
            urlParams: a,
            vinfo: l,
            videoType: "m3u8",
            config: d,
            pname: t.pname || "",
            tryLookType: "none",
            tryLookTime: 0,
            videoFlag: h,
            playerVersion: o,
            playerType: "normal",
            interactiveType: r.Android || r.iPad || r.iPod || r.iPhone || r.wph || r.ps ? "mobile" : "PC"
        }
    }

    var s = a(3), r = a(2), n = {
        defi: 2,
        isAutoMute: 0,
        isAutoPlay: !(r.weixin && !r.wifi),
        isPreload: !0,
        Barrage: 0,
        hideBarrage: 0,
        nextBtn: 1,
        definition: 1
    }, o = "3.7.0";
    module.exports = iffff
}
